package com.cn.ssm.service.impl;

import com.cn.ssm.dao.BureauInfoMapper;
import com.cn.ssm.dao.UserRoleInfoMapper;
import com.cn.ssm.model.BureauInfo;
import com.cn.ssm.model.UserRoleInfo;
import com.cn.ssm.service.BureauInfoService;
import com.cn.ssm.service.UserRoleInfoService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Service
@Transactional
public class UserRoleInfoServiceImpl implements UserRoleInfoService {

	@Resource
	public UserRoleInfoMapper userRoleInfoMapper;

	@Override
	public List<UserRoleInfo> selectByuserseq(String rolecode) {
		return userRoleInfoMapper.selectByuserseq(rolecode);
	}
}
